﻿<%@ Page Title="" Language="C#" MasterPageFile="~/clerks/ClerkMaster.Master" AutoEventWireup="true" CodeBehind="AddDelivery.aspx.cs" Inherits="LogicUniversity.clerks.AddDelivery" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="Stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form id="form1" runat="server">
    <ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxtoolkit:ToolkitScriptManager>
    <div class="row-fluid">
        <div class="span3">
            <asp:Label ID="lblMsg" runat="server" Font-Bold="true"></asp:Label>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span2">
            <asp:Label ID="lblPO" runat="server" Text="PO No : "></asp:Label>
        </div>
        <div class="span3">
            <asp:DropDownList ID="ddlPO" runat="server" AutoPostBack="true"
                onselectedindexchanged="ddlPO_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span2">
            <asp:Label ID="lblDate" runat="server" Text="Date"></asp:Label>
        </div>
        <div class="span3">
            <asp:TextBox ID="txtDate"  runat="server"></asp:TextBox>
            <asp:LinkButton ID="btnCal"  runat="server" 
                onclick="btnCal_Click">
                <i class="icon-calendar"></i>
            </asp:LinkButton>
            <ajaxtoolkit:CalendarExtender PopupButtonID="btnCal" ID="TextBox1_CalendarExtender"
                runat="server" TargetControlID="txtDate">
            </ajaxtoolkit:CalendarExtender>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span6">
            <asp:GridView ID="DelieverView" GridLines="None" CssClass="table table-hover" 
                runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="ItemCode" HeaderText="Item Code" />
                    <asp:BoundField DataField="ItemDesc" HeaderText="Description" />
                    <asp:BoundField DataField="Quantity" HeaderText="Quantity" />
                    <asp:TemplateField HeaderText="Remarks">
                        <ItemTemplate>
                            <asp:TextBox ID="txtRemarks" runat="server" Height="36px" Width="150px"></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span2">
            <asp:LinkButton ID="btnSave" runat="server" CssClass="btn btn-primary" 
                onclick="btnSave_Click">
                Save
            </asp:LinkButton>
        </div>
    </div>
    </form>
       
        
</asp:Content>
